<?php
/**
 * Gear for Mechanic testing
 */
namespace Mechanism\Test {
	use Mechanism;
	class Gear extends Mechanism\Gear\Gear {
		public function pre_method( $mechanism ) {
			$mechanism->gear_var_one = 1;
		}
		
		public function postMethod( $mechanism ) {
			$mechanism->gear_var_two = 2;
		}

		public function pre_uncalled_method( $mechanism ) {
			$mechanism->unexsistence = 1;
		}

		public function post_sec_method( $mechanism ) {
			$mechanism->var_two += 1;
		}
	}
}